EÆcient Pure-bu er Algorithms for Real-time Systems

نویسندگان

  • James H. Anderson
  • Philip Holman
چکیده

We present several wait-free algorithms for implementing read/write bu ers in real-time systems. Such bu ers are commonly used in situations where newly-produced data values take precedence over older data, and hence older data can be overwritten. Each of our algorithms is a \pure-bu er" algorithm. In a purebu er algorithm, several bu ers are shared between the writer and reader processes, and a handshaking mechanism is employed that ensures that a writer never writes into a bu er that is concurrently being read by some reader. Each of our algorithms is optimized by taking characteristics of quantumand priority-based schedulers into account. When used to implement a B-word bu er that is shared across a constant number of processors, the time complexity for reading and writing in each of our algorithms is O(B), and the space complexity is (B). These complexity gures are obviously asymptotically optimal and are independent of the number of writer and reader processes. In contrast, all previously-published pure-bu er algorithms are limited to one writer process and have time and space complexity that is at least linear in the number of

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Queue Management for Shared Bu er Switch Architecture

| In this paper, we present the design of a scalable queue management for shared bu er switch architecture by using non-linked-list implementation. In the traditional switch design, linked-list is the widely adopted implementation to maintain the packet bu er. However, to design a linked-list architecture in hardware increases the size of chip and also limits the operating frequency. By using t...

متن کامل

Simultaneous optimization of speed and bu er times for robust transportation systems

Transport companies often have a published timetable. To maintain timetable reliability despite delays, companies include bu er times during timetable development, and adjust the traveling speed during timetable execution. We develop an approach that can integrate decisions at di erent time scales (tactical and operational). We model execution of the timetable as a stochastic dynamic program (S...

متن کامل

Intelligent Prefetching and Buffering for Interactive Streaming of MPEG Videos

Continuous delivery of media streams like video over IP networks so far is mainly handled by commercial approaches that deliver the stream forward-oriented in their own proprietary format. Though some existing streaming technologies are able to adapt to varying bandwidths, they do not provide smooth reactions to user interactions with the continuous stream. We have developed the MPEG-L/MRP stra...

متن کامل

Scheduling In Real-Time Transaction Systems

In many application areas database management systems may have to operate under real-time constraints. We have taken an integrated approach to developing algorithms for cpu scheduling, concurrency control (based both on locking and on optimistic concurrency control), con ict resolution, transaction restart, transaction wakeup, deadlock, bu er management, and disk I/O scheduling. In all cases th...

متن کامل

MPEG-L/MRP: Adaptive Streaming of MPEG Videos for Interactive Internet Applications

Continuous delivery of media streams like video over IP networks so far is mainly handled by commercial approaches delivering streams forward-oriented in their own proprietary format. Though some existing streaming technologies are able to adapt to varying bandwidths, they do not provide smooth reactions to user interactions with the continuous stream. We have developed the MPEG-L/MRP strategy,...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000